package com.zcaxer.roomwordsample.data

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query

@Dao
interface BuildingUpgradeInfoDao {

    @Insert
    fun insert(buildingUpgradeInfo: BuildingUpgradeInfo)

    @Query("SELECT a,b,c from BuildingUpgradeInfo_table WHERE buildingID=:buildingID AND type=:type")
    fun query(buildingID: Int,type: Int) : List<Binomial>

}